IModule.ReadSdoInt16 方法
透过服务资料物件 (SDO) 读取 short。
命名空间:IntervalZero.KINGSTAR.Base.Class组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
IKsCommand<short> ReadSdoInt16(
ushort index,
byte subIndex,
bool completeAccess
)
Function ReadSdoInt16(
index As UShort,
subIndex As Byte,
completeAccess As Boolean
) As IKsCommand(Of Short)
参数
index
型别:ushort
欲在物件字典中读取的物件索引。
subIndex
型别:byte
欲在物件字典中读取的物件子索引。
completeAccess
型别:bool
true:读取所有子索引;false:读取单一子索引。
回传值
型别:IKsCommand<short>
回传方法的状态及一个 short 值。
参见